stu_id =[10001,10002,10003,10004,10001,10001]

# 1. copy()很重要
# 思考，赋值是真正的复制吗
stu_id_matedata =stu_id
print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

# 实验1 赋值
#stu_id.pop(1)
#print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)

# 实验2 copy()
#stu_id_matedata = stu_id.copy()
#stu_id.pop(1)
#print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)


# 实验3 切片实现复制
stu_id_matedata = stu_id[:]
stu_id.pop(1)
print("stu_id:",stu_id,'\n','stu_id_matedata:',stu_id_matedata)
